package com.huawei.appgallery.forum.message.node;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.LinearLayout.LayoutParams;
import com.huawei.appgallery.forum.base.card.ForumNode;
import com.huawei.appgallery.forum.message.card.ForumRemindGameMsgCard;
import o.bvj.e;
import o.cih;

public class ForumRemindGameMsgNode extends ForumNode {
    public ForumRemindGameMsgNode(Context context) {
        super(context);
    }

    public boolean ˊ(ViewGroup viewGroup, ViewGroup viewGroup2) {
        View view = (LinearLayout) LayoutInflater.from(this.ॱ).inflate(ˎ(), null);
        cih forumRemindGameMsgCard = new ForumRemindGameMsgCard(this.ॱ);
        forumRemindGameMsgCard.ˏ(view);
        ˊ(forumRemindGameMsgCard);
        viewGroup.addView(view, new LayoutParams(-1, -2));
        return true;
    }

    public int ˎ() {
        return e.ॱˊ;
    }
}
